﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SimpleIR;
using PInfoModel;

namespace TestGen
{
	public static class NameGen
	{
		public static string GenerateNameForRegion(PIMNode hr)
		{ return "Rgn" + hr.LocationAddress; }

		public static string GenerateNameForRegionCount(PIMNode hr)
		{ return "Rgn" + hr.LocationAddress + "_ct"; }

		public static string GenerateNameForRegionCardinality(PIMNode hr)
		{ return "Rgn" + hr.LocationAddress + "_card"; }

		public static string GenerateNameForPtrSetCount(int soureceaddr, int trgtaddr, string mfloc)
		{ return "PS" + soureceaddr + "_" + trgtaddr + mfloc + "_ct"; }

	}
}
